[INFO] cloning repository https://github.com/s-perez/rusty-dedup
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/s-perez/rusty-dedup" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fs-perez%2Frusty-dedup", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fs-perez%2Frusty-dedup'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f7d79bdcd2d8638818807bb5e2a1bc25e1ae6766
[INFO] building s-perez/rusty-dedup against master#a29f341a8ac4e9325a5e37027b4215f50a76d06f for pr-101929
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fs-perez%2Frusty-dedup" "/workspace/builds/worker-0/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/s-perez/rusty-dedup on toolchain a29f341a8ac4e9325a5e37027b4215f50a76d06f
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/s-perez/rusty-dedup
[INFO] finished tweaking git repo https://github.com/s-perez/rusty-dedup
[INFO] tweaked toml for git repo https://github.com/s-perez/rusty-dedup written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] crate git repo https://github.com/s-perez/rusty-dedup already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded radix_trie v0.1.4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 04092e82b728c261d4dd6428fcdcfdd46bd7df28993d3f1328f176ebabdfa9d6
[INFO] running `Command { std: "docker" "start" "-a" "04092e82b728c261d4dd6428fcdcfdd46bd7df28993d3f1328f176ebabdfa9d6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "04092e82b728c261d4dd6428fcdcfdd46bd7df28993d3f1328f176ebabdfa9d6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "04092e82b728c261d4dd6428fcdcfdd46bd7df28993d3f1328f176ebabdfa9d6", kill_on_drop: false }`
[INFO] [stdout] 04092e82b728c261d4dd6428fcdcfdd46bd7df28993d3f1328f176ebabdfa9d6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 133a8c8d678e6249cc1bbbd4a1c7fc061cdbe4c529d4943cc2fbb940c52f1fb3
[INFO] running `Command { std: "docker" "start" "-a" "133a8c8d678e6249cc1bbbd4a1c7fc061cdbe4c529d4943cc2fbb940c52f1fb3", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.50
[INFO] [stderr]    Compiling num-traits v0.2.6
[INFO] [stderr]    Compiling num-integer v0.1.39
[INFO] [stderr]    Compiling serde v1.0.89
[INFO] [stderr]    Compiling ryu v0.2.7
[INFO] [stderr]    Compiling unicode-width v0.1.5
[INFO] [stderr]    Compiling cfg-if v0.1.7
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling endian-type v0.1.2
[INFO] [stderr]    Compiling vec_map v0.8.1
[INFO] [stderr]    Compiling bitflags v1.0.4
[INFO] [stderr]    Compiling itoa v0.4.3
[INFO] [stderr]    Compiling strsim v0.7.0
[INFO] [stderr]    Compiling nibble_vec v0.0.4
[INFO] [stderr]    Compiling log v0.4.6
[INFO] [stderr]    Compiling textwrap v0.10.0
[INFO] [stderr]    Compiling radix_trie v0.1.4
[INFO] [stderr]    Compiling time v0.1.42
[INFO] [stderr]    Compiling atty v0.2.11
[INFO] [stderr]    Compiling clap v2.32.0
[INFO] [stderr]    Compiling chrono v0.4.6
[INFO] [stderr]    Compiling simple_logger v1.0.1
[INFO] [stderr]    Compiling serde_json v1.0.39
[INFO] [stderr]    Compiling rusty-dedup v1.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0557]: feature has been removed
[INFO] [stdout]  --> src/main.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(impl_trait_in_bindings)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^ feature has been removed
[INFO] [stdout]   |
[INFO] [stdout]   = note: the implementation was not maintainable, the feature may get reintroduced once the current refactorings are done
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `fail` in this scope
[INFO] [stdout]   --> src/json.rs:18:21
[INFO] [stdout]    |
[INFO] [stdout] 18 |             None => fail!(""),
[INFO] [stdout]    |                     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `error`, `info`
[INFO] [stdout]  --> src/json.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 | use log::{info, error};
[INFO] [stdout]   |           ^^^^  ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `error`, `info`
[INFO] [stdout]  --> src/dedup.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 | use log::{info, error};
[INFO] [stdout]   |           ^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/dedup.rs:6:29
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn deduplicate(parser: &Parser) -> Result<bool, &'static str> {
[INFO] [stdout]   |                             ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn deduplicate(parser: &dyn Parser) -> Result<bool, &'static str> {
[INFO] [stdout]   |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/json.rs:20:39
[INFO] [stdout]    |
[INFO] [stdout] 20 |                 get_element_from_json(&json, &path)
[INFO] [stdout]    |                 --------------------- ^^^^^ expected enum `Value`, found `&Value`
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/json.rs:51:4
[INFO] [stdout]    |
[INFO] [stdout] 51 | fn get_element_from_json(json:Value, path:&str) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^ ----------
[INFO] [stdout] help: consider removing the borrow
[INFO] [stdout]    |
[INFO] [stdout] 20 -                 get_element_from_json(&json, &path)
[INFO] [stdout] 20 +                 get_element_from_json(json, &path)
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:47:22
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let parser : Box<Parser> = match matches.value_of("type").unwrap(){
[INFO] [stdout]    |                      ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let parser : Box<dyn Parser> = match matches.value_of("type").unwrap(){
[INFO] [stdout]    |                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors; 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0557.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rusty-dedup` due to 4 previous errors; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "133a8c8d678e6249cc1bbbd4a1c7fc061cdbe4c529d4943cc2fbb940c52f1fb3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "133a8c8d678e6249cc1bbbd4a1c7fc061cdbe4c529d4943cc2fbb940c52f1fb3", kill_on_drop: false }`
[INFO] [stdout] 133a8c8d678e6249cc1bbbd4a1c7fc061cdbe4c529d4943cc2fbb940c52f1fb3
